*{
    margin: 0;
    padding: 0;
}
body .container{
    height: 100vh;
}
.container .item{
    width: 8.3333%;
    height: 100vh;
    float: left;
    text-align: center;
    /* 垂直居中 */
    line-height: 100vh;
    position: relative;

    font-size: 50px;
    font-style: italic;
}
.item > div{
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100vh;
    overflow: hidden;
    color: white;
}

.container .item .x1{
    background-color: #9BC2E6;
    animation: width 0.6s 0s linear forwards;
}

.container .item .x2{
    background-color: #F4B084;
    animation: width 0.6s 0.7s linear forwards;
}

.container .item .x3{
    background-color: #C9C9C9;
    animation: width 0.6s 1.4s linear forwards;
}

.container .item .x4{
    background-color: #FFD966;
    animation: width 0.6s 2.1s linear forwards;
}

.container .item .x5{
    background-color: #A9D08E;
    animation: width 0.6s linear forwards;
}

@keyframes width{
    from{
        width: 0%;
    }

    to{
        width: 100%;
    }
}